class SmallInput
  attr_reader :content
  def self.create_file_content(integration_parameters, test_particles)
    @content = ""

small_header = <<OUTPUT
)O+_06 Small-body initial data  (WARNING: Do not delete this line!!)
) Lines beginning with `)' are ignored.
)---------------------------------------------------------------------
 style (Cartesian, Asteroidal, Cometary) = Ast
)---------------------------------------------------------------------
OUTPUT
    @content << small_header

define_particle = <<OUTPUT
  %s   ep=%s
  %f %f 0.
  0. 0. 0.
  0. 0. 0.    
OUTPUT

		test_particles.each do |particle|
      current_particle = sprintf(define_particle, particle.name, integration_parameters.start_time,
                                particle.semi_major_axis, particle.eccentricity)
      @content << current_particle
    end
    return @content
  end
end
  
